package edu.gatech.ors.mrsim.core;

public class NamedEvent extends Event{
    private String name;
    public NamedEvent(String name,ModuleSimulator module,long currTimestamp){
	super(module,currTimestamp);
	this.name = name;
	
    }
    public String getName(){
	return name;
    }
    
    public String toString(){
	return "("+this.module.getName()+": "+this.getTimeStamp()+"ms) "+name;
    }
}
